/*
 * #%L
 * SwiftUICommonUtilities
 * $Id:$
 * $HeadURL:$
 * %%
 * Copyright (C) 2011 - 2012 Linkwithweb
 * %%
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as
 * published by the Free Software Foundation, either version 3 of the 
 * License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public 
 * License along with this program.  If not, see
 * <http://www.gnu.org/licenses/gpl-3.0.html>.
 * #L%
 */
/**
 * 
 */
package com.linkwithweb.products.swiftui.dataobject;

import java.util.List;

/**
 * DROP TABLE IF EXISTS `automata`.`frm_menu`;
CREATE TABLE  `automata`.`frm_menu` (
  `MENU_KEY` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `MENU_ID` varchar(45) DEFAULT NULL,
  `ENTITY_ID` varchar(45) DEFAULT NULL,
  `MENU_NAME` varchar(45) DEFAULT NULL,
  `MENU_TYPE` varchar(45) DEFAULT NULL,
  `MENU_LABEL` varchar(45) DEFAULT NULL,
  `MENU_DESCRIPTION` varchar(45) DEFAULT NULL,
  `PARENT_MENU_ID` varchar(45) DEFAULT NULL,
  `MENU_URL` varchar(45) DEFAULT NULL,
  `MENU_ORDER` int(10) ,
  `IS_ACTIVE` tinyint(1) NOT NULL,
  `IDENTIFIER` varchar(45) DEFAULT NULL,
  `IDENTIFIER_ROLE` varchar(45) DEFAULT NULL,
  `CREATED_BY` int(10) unsigned NOT NULL,
  `CREATED_DATE` datetime NOT NULL,
  `MODIFIED_BY` int(10) unsigned NOT NULL,
  `MODIFIED_DATE` datetime NOT NULL,
  PRIMARY KEY (`MENU_KEY`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 * @author ashwin kumar
 *
 */
public class FrameworkMenu extends BaseDataObject {
	private long menuKey = -1;
	private String menuId = "";
	private String entityId = "";
	private String menuName = "";
	private String menuType = "";
	private String menuLabel = "";
	private String parentMenuId = "";
	private String menuURL = "";
	private String menuDescription = "";
	private int menuOrder = 1;
	private List<FrameworkMenu> children = null; 
	/**
	 * @return the menuKey
	 */
	public long getMenuKey() {
		return menuKey;
	}
	/**
	 * @param menuKey the menuKey to set
	 */
	public void setMenuKey(long menuKey) {
		this.menuKey = menuKey;
	}
	/**
	 * @return the menuId
	 */
	public String getMenuId() {
		return menuId;
	}
	/**
	 * @param menuId the menuId to set
	 */
	public void setMenuId(String menuId) {
		this.menuId = menuId;
	}
	/**
	 * @return the entityId
	 */
	public String getEntityId() {
		return entityId;
	}
	/**
	 * @param entityId the entityId to set
	 */
	public void setEntityId(String entityId) {
		this.entityId = entityId;
	}
	/**
	 * @return the menuName
	 */
	public String getMenuName() {
		return menuName;
	}
	/**
	 * @param menuName the menuName to set
	 */
	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}
	/**
	 * @return the menuType
	 */
	public String getMenuType() {
		return menuType;
	}
	/**
	 * @param menuType the menuType to set
	 */
	public void setMenuType(String menuType) {
		this.menuType = menuType;
	}
	/**
	 * @return the menuLabel
	 */
	public String getMenuLabel() {
		return menuLabel;
	}
	/**
	 * @param menuLabel the menuLabel to set
	 */
	public void setMenuLabel(String menuLabel) {
		this.menuLabel = menuLabel;
	}
	/**
	 * @return the parentMenuId
	 */
	public String getParentMenuId() {
		return parentMenuId;
	}
	/**
	 * @param parentMenuId the parentMenuId to set
	 */
	public void setParentMenuId(String parentMenuId) {
		this.parentMenuId = parentMenuId;
	}
	/**
	 * @return the menuURL
	 */
	public String getMenuURL() {
		return menuURL;
	}
	/**
	 * @param menuURL the menuURL to set
	 */
	public void setMenuURL(String menuURL) {
		this.menuURL = menuURL;
	}
	/**
	 * @return the menuDescription
	 */
	public String getMenuDescription() {
		return menuDescription;
	}
	/**
	 * @param menuDescription the menuDescription to set
	 */
	public void setMenuDescription(String menuDescription) {
		this.menuDescription = menuDescription;
	}
	/**
	 * @return the menuOrder
	 */
	public int getMenuOrder() {
		return menuOrder;
	}
	/**
	 * @param menuOrder the menuOrder to set
	 */
	public void setMenuOrder(int menuOrder) {
		this.menuOrder = menuOrder;
	}
	/**
	 * @return the children
	 */
	public List<FrameworkMenu> getChildren() {
		return children;
	}
	/**
	 * @param children the children to set
	 */
	public void setChildren(List<FrameworkMenu> children) {
		this.children = children;
	}

	
	
}
